<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>幸运大抽奖</title>
    <script src="{$Think.config.PUBLIC}/weixin/js/flexible.js"></script>
    <link rel="stylesheet" href="{$Think.config.PUBLIC}/weixin/css/main3.css">
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-72363786-1']);
        _gaq.push(['_trackPageview']);
    </script>
<body>
<div name="ac-title"  class="w_activity" actname="专题" secname="幸运大抽奖">
    <div class="part1 part"></div>
    <div class="part2 part">
        <div class="luckyDraw"></div>
        <div class="arrow"></div>
    </div>
    <div class="part3 part">
        <!--初始化有密码时-->
        {if isset($user_info)}
        <input type="text" class="password" placeholder="请输入密码" value="{$user_info.code}" readonly>
        {else}
        <input type="text" class="password" placeholder="请输入密码">
        {/if}
        <div class="startBtn noStart"></div>
        {if !empty($user_info.desc)}
        <div id="desc" class="{$user_info.desc}"></div>
        {else}
        <div id="desc" class="hint"></div>
        {/if}
    </div>
    <div class="popArea">
        <div class="mask"></div>
        <div class="popContent">
            <div class="prizes pop">
                <div class="prize">
                    <p>抽中<span class="prizeName"></span></p>
                    <p>请到新百服务台兑奖</p>
                </div>
                <div  class="sureBtn"></div>
            </div>
            <div class="error pop">
                <div  class="sureBtn"></div>
            </div>
            <div class="alreadyUse pop">
                <div  class="sureBtn"></div>
            </div>
        </div>

    </div>
</div>
{literal}
<script>
    var actname = document.getElementsByName("ac-title")[0].getAttribute('actname');
    var secname = document.getElementsByName("ac-title")[0].getAttribute('secname');
    var oA = document.getElementsByName('account');
    for (var i = 0; i < oA.length; i++) {
        oA[i].href = oA[i].href.replace(/&fr=\d*/, '');
        //去掉链接中的fr
        oA[i].onclick = (function(e) {
            _gaq.push(['_trackEvent', actname, secname + "|" + this.getAttribute('ga_t')]);
        });
    }
    //*******************************************//
    /* //谷歌检测
     (function(i, s, o, g, r, a, m) {
     i['GoogleAnalyticsObject'] = r;
     i[r] = i[r] || function() {
     (i[r].q = i[r].q || []).push(arguments)
     }, i[r].l = 1 * new Date();
     a = s.createElement(o), m = s.getElementsByTagName(o)[0];
     a.async = 1;
     a.src = g;
     m.parentNode.insertBefore(a, m)
     })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
     ga('create', 'UA-72363786-1', 'auto');
     ga('send', 'pageview');*/
</script>
<!--<script type="text/javascript">
    (function() {
        var ga = document.createElement('script');
        ga.type = 'text/javascript';
        ga.async = true;
        ga.src = ('https: ' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ga, s);
    })();
</script>-->
{/literal}
<script src="{$Think.config.PUBLIC}/weixin/js/jquery-1.12.1.min.js"></script>
<script src="{$Think.config.PUBLIC}/weixin/js/main1.js"></script>
</body>
</html>